package com.pcbly.web.bean.crm;

import java.util.Date;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class SysMsgBean extends AbstractBaseBean {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -5205348814133951844L;
	private String msgBody;         //消息内容
	private String msgReadFlag;    //是否已读标志（0:未读；1:已读）
	private String senderId;        //发送人编号
	private String senderName;      //发送人姓名
	private String sendDelFlag;    //发送人删除标志(0:未删除；1:已删除)
	private Date sendTime;        //发送时间
	private String recieverId;      //接收人编号
	private String recieverName;    //接收人姓名
	private String readDelFlag;    //接收人删除标志(0:未删除；1:已删除)
	private Date readTime;        //读取时间
	private String mobileNum;       //手机号码
	private String mobileSendFlag; //短信发送标志
	
	 
	

	public String getMsgBody() {
		return msgBody;
	}

	public void setMsgBody(String msgBody) {
		this.msgBody = msgBody;
	}

	public String getMsgReadFlag() {
		return msgReadFlag;
	}

	public void setMsgReadFlag(String msgReadFlag) {
		this.msgReadFlag = msgReadFlag;
	}

	public String getSenderId() {
		return senderId;
	}

	public void setSenderId(String senderId) {
		this.senderId = senderId;
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}

	public String getSendDelFlag() {
		return sendDelFlag;
	}

	public void setSendDelFlag(String sendDelFlag) {
		this.sendDelFlag = sendDelFlag;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getRecieverId() {
		return recieverId;
	}

	public void setRecieverId(String recieverId) {
		this.recieverId = recieverId;
	}

	public String getRecieverName() {
		return recieverName;
	}

	public void setRecieverName(String recieverName) {
		this.recieverName = recieverName;
	}

	public String getReadDelFlag() {
		return readDelFlag;
	}

	public void setReadDelFlag(String readDelFlag) {
		this.readDelFlag = readDelFlag;
	}

	public Date getReadTime() {
		return readTime;
	}

	public void setReadTime(Date readTime) {
		this.readTime = readTime;
	}

	public String getMobileNum() {
		return mobileNum;
	}

	public void setMobileNum(String mobileNum) {
		this.mobileNum = mobileNum;
	}

	public String getMobileSendFlag() {
		return mobileSendFlag;
	}

	public void setMobileSendFlag(String mobileSendFlag) {
		this.mobileSendFlag = mobileSendFlag;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
